package com.thenie.chat.vo;

import com.thenie.chat.pojo.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 世界对话传输消息
 *
 * @author Thenie
 * @date 2022/7/20 22:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DialogWorldMessage {
    @NotNull
    private String text;
    @NotNull
    private User user;
}
